package com.example.membership.service;
import com.example.membership.model.User;
import java.util.List;

public interface UserService {
    User getUserById(int id);
    List<User> getAllUsers();
    void createUser(User user);
    void updateUser(User user);
    void deleteUser(int id);
    User findByUsernameAndPassword(String username, String password);
}

